package com.times.microservice.order.entity;

import lombok.Data;
import lombok.ToString;

/**
 * @version V1.0.0
 * @Title: 订单详情OrderDetail实体
 * @Package com.times.microservice.order.entity
 * @Description: ${TODO}
 * @author: TimesPanda
 * @date: 2020-04-05 15:42
 * @Copyright: 2020-04 Inc. All rights reserved.
 * 注意：本内容仅限于公司内部传阅，禁止外泄以及用于其他的商业目
 */
public class OrderDetail {
    private String orderId;

    private Item item = new Item();

    public OrderDetail() {

    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Item getItem() {
        return item;
    }

    public void setItem(Item item) {
        this.item = item;
    }

    public OrderDetail(String orderId, Item item) {
        this.orderId = orderId;
        this.item = item;
    }
    @Override
    public String toString() {
        return "OrderDetail [orderId=" + orderId + ", item=" + item + "]";
    }
}
